package cn.imvc.app.repositories;

import java.util.Set;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.imvc.app.entities.Department;
import cn.imvc.app.entities.Department_position;
import cn.imvc.app.entities.Position;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface DepartmentPositionRepository extends JpaRepository<Department_position, Integer>, IJpqlExecutor<Department_position> {
	
	public Set<Department_position> findByDepartmentAndPosition(Department dep,Position pos);
}
